package com.example.Object;

/**
 * 题目类
 * @author echo
 */
public class Question {
    private String Question;
    private String A;
    private String B;
    private String C;
    private String D;
    private String right;
    private int type;

    public Question() {
    }

    public Question(String question, String a, String b, String c, String d, String right,int type) {
        Question = question;
        A = a;
        B = b;
        C = c;
        D = d;
        this.type = type;
        this.right = right;
    }

    public String getQuestion() {
        return Question;
    }

    public void setQuestion(String question) {
        Question = question;
    }

    public String getA() {
        return A;
    }

    public void setA(String a) {
        A = a;
    }

    public String getB() {
        return B;
    }

    public void setB(String b) {
        B = b;
    }

    public String getC() {
        return C;
    }

    public void setC(String c) {
        C = c;
    }

    public String getD() {
        return D;
    }

    public void setD(String d) {
        D = d;
    }

    public String getRight() {
        return right;
    }

    public void setRight(String right) {
        this.right = right;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Question{" +
                "Question='" + Question + '\'' +
                ", A='" + A + '\'' +
                ", B='" + B + '\'' +
                ", C='" + C + '\'' +
                ", D='" + D + '\'' +
                ", right='" + right + '\'' +
                ", type=" + type +
                '}';
    }
}
